package com.lhy.framework.beans.factory.factory;

import com.lhy.framework.beans.BeansException;
import com.lhy.framework.beans.factory.ConfigurablelistableBeanFactory;

/**
 * @ClassName BeanFactoryPostProcessor
 * @Description
 * @Author lihaiyang
 * @Date 2022/9/12 09:47
 * @Version 1.0
 */
public interface BeanFactoryPostProcessor {

    /**
     * 在所有的BeanDefinition加载完成后，实例化Bean对象之前，提供修改BeanDefinition属性的机制
     * @param beanFactory
     * @throws BeansException
     */
    void postProcessBeanFactory(ConfigurablelistableBeanFactory beanFactory) throws BeansException;

}
